#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Data  :     2020/5/8 下午1:39
--------------------------------------
"""
import time
import unittest

from BeautifulReport import BeautifulReport

if __name__ == '__main__':
    now = time.strftime("%Y-%m-%d-%H-%M-%S")
    suite = unittest.defaultTestLoader.discover('testcase/', pattern='test*.py')
    result = BeautifulReport(suite)
    result.report(filename="%s" % now, description="礼橙贝", report_dir='report')
